projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f481a3f
)
xend: Remove extraneous logging from pyxc_physinfo().
author
Keir Fraser
<keir.fraser@citrix.com>
Sat, 14 Nov 2009 10:25:19 +0000
(10:25 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Sat, 14 Nov 2009 10:25:19 +0000
(10:25 +0000)
Also fixes 32-bit build.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/lowlevel/xc/xc.c
patch
|
blob
|
history
diff --git
a/tools/python/xen/lowlevel/xc/xc.c
b/tools/python/xen/lowlevel/xc/xc.c
index 4c90579c681a81314b1f9016c7877bf653c6e872..7eaf63b94e866efe9461e76898f680c20ca03917 100644
(file)
--- a/
tools/python/xen/lowlevel/xc/xc.c
+++ b/
tools/python/xen/lowlevel/xc/xc.c
@@
-1129,16
+1129,13
@@
static PyObject *pyxc_physinfo(XcObject *self)
Py_DECREF(pyint);
}
- xc_dom_loginit();
/* DMA memory. */
node_to_dma32_mem_obj = PyList_New(0);
for ( i = 0; i < info.nr_nodes; i++ )
{
PyObject *pyint;
-
xc_availheap(self->xc_handle, 0, 32, i, &free_heap);
- xc_dom_printf("Node:%d: DMA32:%ld\n", i, free_heap);
pyint = PyInt_FromLong(free_heap / 1024);
PyList_Append(node_to_dma32_mem_obj, pyint);
Py_DECREF(pyint);